package com.molichuxing.services.infrastructure.dto.response;

import com.molichuxing.services.property.OrderDealerStatusEnum;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class OrderDealerDetailStatusDto extends OrderStatusFlowDto {
	private static final long serialVersionUID = 1870993153294702218L;
   
	private OrderDealerStatusEnum orderStatus;

	public OrderDealerStatusEnum getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus == null ? null : OrderDealerStatusEnum.getEnum(orderStatus);
	}

}
